package com.leo.erp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("tb_material_stock")
public class MaterialStock {
	@TableId(value = "materialStockId", type = IdType.AUTO)
	private int materialStockId;
	
	@TableField("materialId")
	private int materialId;//产品id
	
	@TableField("depotId")
	private int depotId;//仓库id
	
	@TableField("number")
	private double number;//初始库存数量
	
	@TableField("tenantId")
	private int tenantId;//租户id
	
	@TableField("deleteFlag")
	private String deleteFlag;//删除标记，0未删除，1删除

	public int getMaterialStockId() {
		return materialStockId;
	}

	public void setMaterialStockId(int materialStockId) {
		this.materialStockId = materialStockId;
	}

	public int getMaterialId() {
		return materialId;
	}

	public void setMaterialId(int materialId) {
		this.materialId = materialId;
	}

	public int getDepotId() {
		return depotId;
	}

	public void setDepotId(int depotId) {
		this.depotId = depotId;
	}

	public double getNumber() {
		return number;
	}

	public void setNumber(double number) {
		this.number = number;
	}

	public int getTenantId() {
		return tenantId;
	}

	public void setTenantId(int tenantId) {
		this.tenantId = tenantId;
	}

	public String getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(String deleteFlag) {
		this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
	}
	
	
}
